package com.xy.cloud.controller;

import com.xy.cloud.domain.R;
import com.xy.cloud.service.UserAccountService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/account")
public class UserAccountController {

    private static final Logger log = LoggerFactory.getLogger(BackstageController.class);

    @Autowired
    private UserAccountService accountService;


    @PostMapping("/save")
    public R<?> save(){
        accountService.save();
        return R.ok();
    }
}
